<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>海创数字</title>
<link href="__PUBLIC__/css/bootstrap.min.css" rel="stylesheet">
<link href="__PUBLIC__/font-awesome/css/font-awesome.css" rel="stylesheet">
<link href="__PUBLIC__/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
<link href="__PUBLIC__/css/animate.css" rel="stylesheet">
<link href="__PUBLIC__/css/style.css" rel="stylesheet">
<link href="__PUBLIC__/css/validationEngine.jquery.css">
</head>
<body class="skin-1">
	<div id="wrapper">
		<include file="default:left" />
		<div id="page-wrapper" class="gray-bg">
			<include file="default:header" />
			<div class="row wrapper border-bottom white-bg page-heading">
				<div class="col-lg-10">
					<h2>广告列表</h2>
					<ol class="breadcrumb">
						<li><a href="?c=index&a=index">管理平台</a></li>
						<li><a href="?c=admanage&a=index">广告管理</a></li>
						<li class="active"><strong>广告列表</strong></li>
					</ol>
				</div>
				<div class="col-lg-2"></div>
			</div>
			<div class="wrapper wrapper-content">
				<div class="row">
					<div class="col-lg-12">
						<div class="ibox float-e-margins">
							<div class="ibox-content">
								
								<div class="dataTables_wrapper form-inline dt-bootstrap"
									id="editable_wrapper">
									<div class="row">
										<div class="col-sm-6">
											<div class="btn-group">
												<button class="btn btn-sm btn-default check_all"
													type="button">
													<i class="fa fa-check-square-o"></i>全选
												</button>
												<button class="btn btn-sm btn-default del_all oprate_del" type="button">
													<i class="fa fa-trash-o"></i>删除
												</button>
											</div>
											<a href="?c=admanage&a=add"
												class="btn btn-primary btn-sm oprate_add">添加广告</a>
										</div>
									</div>
									<div class="row">
										<div class="col-sm-12">
											<table
												class="table table-striped table-hover dataTables-example account_tab">
												<thead>
													<tr style="padding: 8px;">
														<th width="5%"></th>
														<th width="9%">图片</th>
														<th width="9%">权重</th>
														<th width="18%">主题</th>
														<th width="9%">大小</th>
														<th width="9%">尺寸</th>
														<th width="14%">上传账号</th>
														<th width="7%">状态</th>
														<th width="20%">操作</th>
													</tr>
												</thead>
												<tbody>	
													<empty name="adArray">
														<tr>
															<td colspan="9" style="text-align: center;">无广告信息</td>
														</tr>
													<else /> 
														<volist name="adArray" id="aa">												
															<tr>
																<td id="i_id" style="display: none;">{$aa.id}</td>
																<td>
																	<div class="checkbox checkbox-primary check_item">
																		<input id="checkbox1" value="{$aa.id}" type="checkbox">
																		<label for="checkbox1"></label>
																	</div>
																</td>
																<td><img style="border: 1px solid #dfdfdf; height: 50px; width: 50px;" src="{$aa.url}"></td>
																<td>{$aa.weight}</td>
																<td>{$aa.title}</td>
																<td>{$aa.dx_size}</td>
																<td>{$aa.cc_size}</td>
																<td>{$aa.user_name}</td>
																<td>
																	<a href="javascript:void(0)" class="oprate_status oprate_mod" config_id="{$aa.id}" status="{$aa.status}"> 
																		<img src="{$aa.status_img}" alt="{$aa.status_name}" title="{$aa.status_name}" />
																	</a>
																</td>
																<td>
																	<div class="btn-group">
																		<a class="btn btn-xs btn-warning oprate_mod" href="?c=admanage&a=modify&id={$aa.id}"> <i
																			class="fa fa-pencil-square-o"></i>修改
																		</a> <a class="btn btn-xs btn-danger oprate_delete oprate_del" href="javascript:void(0)"> <i
																			class="fa fa-trash-o"></i>删除
																		</a>
																	</div>
																</td>
															</tr>
														</volist>
													</empty>
												</tbody>
											</table>
										</div>
									</div>
									<div class="row">
										<div
											style="text-align: center; margin-top: 20px; list-style: none">{$page}</div>
									</div>
								</div>

							</div>
						</div>
					</div>
				</div>
				<include file="default:footer" />
			</div>
		</div>
				
		<script src="__PUBLIC__/js/jquery-2.1.1.js"></script>
		<script src="__PUBLIC__/js/bootstrap.min.js"></script>
		<script src="__PUBLIC__/js/plugins/jqvalidate/jquery.validate.min.js"></script>
		<script src="__PUBLIC__/js/demo/jqvalidate-demo.js"></script>
		<script src="__PUBLIC__/js/plugins/metisMenu/jquery.metisMenu.js"></script>
		<script src="__PUBLIC__/js/plugins/iCheck/icheck.min.js"></script>
		<script
			src="__PUBLIC__/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
		<script src="__PUBLIC__/js/admanage/index.js"></script>
		<script src="__PUBLIC__/js/plugins/jeditable/jquery.jeditable.js"></script>
		<script src="__PUBLIC__/js/menu.js"></script>
		
		<script src="__PUBLIC__/js/inspinia.js"></script>
		<script src="__PUBLIC__/js/plugins/pace/pace.min.js"></script>
		<!-- jQuery UI -->		
			</body>
			</html>
		